package com.yamaha.bikedesalon.data;

import java.util.Date;

import org.json.JSONObject;

import android.util.Log;

public class BrandInfo {

	public String Id;
	public String Name;
	public Date UpdateTime;

	public BrandInfo() {
	}

	public BrandInfo(JSONObject object) {
		try {

			Id = object.getString("brand_id");
			Name = object.getString("name");
			UpdateTime = new Date(object.getLong("update_time"));

		} catch (Exception e) {
			Log.e("BrandInfo Error", e.getMessage(), e);
		}

	}

}
